package com.cyl.manager.pms.convert;

import com.cyl.manager.pms.domain.entity.Sku;
import com.cyl.manager.pms.domain.vo.SkuVO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.ReportingPolicy;

import java.util.List;

/**
 * sku信息  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE, componentModel = MappingConstants.ComponentModel.SPRING)
public interface SkuConvert {

    List<SkuVO> dos2vos(List<Sku> list);
}
